package day10;

public class Circle extends Graph {
    private double r;
    private final static double pi = 3.14;

    public Circle(double r) {
        this.r = r;
    }

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public static double getPi() {
        return pi;
    }

    @Override
    public void area() {

    }
public double area(double r,double pi){
        return pi*r*r;

}
public double perimeter(double r,double pi){
        return 2*pi*r;
}
    @Override
    public void perimeter() {

    }
}
